package com.example.exam.mapper;

import com.example.exam.pojo.entity.TExamPaper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.exam.pojo.vo.ExamPaperVO.ExamPaperEditStandardVO;
import com.example.exam.pojo.vo.ExamPaperVO.ExamPaperStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xiaohu
 * @since 2022-12-26
 */
@Repository
public interface TExamPaperMapper extends BaseMapper<TExamPaper> {

    List<ExamPaperStandardVO> findExamPaper(ExamPaperStandardVO examPaperStandardVO);

    int insert(ExamPaperEditStandardVO examPaperEditStandardVO);

    int update(ExamPaperEditStandardVO examPaperEditStandardVO);

    ExamPaperEditStandardVO getEditStandardById(Integer id);

    int deleteId(Integer id);
}
